package com.zhentao.model.common.app.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName app_user_promotion
 */
@TableName(value ="app_user_promotion")
@Data
public class AppUserPromotion implements Serializable {
    /**
     * 推广表ID
     */
    @TableId(value = "follows_id", type = IdType.AUTO)
    private Integer followsId;

    /**
     * 推广者
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 下级用户ID
     */
    @TableField(value = "lower")
    private Integer lower;

    /**
     * 分销级别
     */
    @TableField(value = "distribution")
    private Integer distribution;

    /**
     * 分销佣金
     */
    @TableField(value = "commission")
    private Integer commission;

    /**
     * 分销时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}